package com.spring.beans.factory.config;

import com.spring.beans.BeansException;
import com.spring.beans.factory.BeanFactory;

/**
 * @Author: Asuka
 * @Description:
 * @create: 2025-04-15 00:04
 */


public interface AutowireCapableBeanFactory extends BeanFactory {

    //执行BeanPostProcessors的postProcessBeforeInitialization方法
    Object applyBeanPostProcessorsBeforeInitialization(Object existingBean, String beanName)
            throws BeansException;



    //执行BeanPostProcessors的postProcessAfterInitialization方法
    Object applyBeanPostProcessorsAfterInitialization(Object existingBean, String beanName)
            throws BeansException;



}
